﻿@model DarkSky.Microdata.Settings.MicrodataPartSettings
@{
    Style.Require("DarkSky.MicrodataPartSettings");
}
<fieldset>
    <label>@T("Entries:")</label>
    <table class="items microdata-settings-patterns">
        <tr>
            <th class="microdata-settings-name">@T("Name")<span class="hint">@T("Name of the pattern")</span></th>
            <th class="autoroute-settings-pat">@T("Pattern")<span class="hint">@T("The definition of the pattern")</span></th>
            <th class="autoroute-settings-actions">&nbsp;</th>
        </tr>
        @for (int index = 0; index < Model.Entries.Count; index++) {
            <tr>
                <td>@Html.TextBoxFor(m => m.Entries[index].Key, new { @class = "text-box"})</td>
                <td>@Html.TextBoxFor(m => m.Entries[index].Value, new { @class = "tokenized text-box" })</td>
                <td>&nbsp;</td>
            </tr>
        }
    </table>
</fieldset>

@Display.TokenHint()